package com.ruitu.mall_98_1.product.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;

import com.beanu.arad.base.my_base.Config;
import com.ruitu.mall_98_1.product.activity.ShopDetailActivity;

public class ShopDetail4Fragment extends ShopDetail2Fragment {
    protected WebView webview;//

    public static ShopDetail4Fragment newInstance() {
        Bundle args = new Bundle();
        ShopDetail4Fragment fragment = new ShopDetail4Fragment();
        fragment.setArguments(args);
        return fragment;
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View v = super.onCreateView(inflater, container, savedInstanceState);
        initWebview(Config.URL + "company/goContactUs?shopId=" + ((ShopDetailActivity) getActivity()).company.getId());
        return v;
    }
}